import {Injectable} from '@angular/core';
import {HttpService} from '@kylin/http';

@Injectable({
    providedIn: 'root'
})

export class ResetPasswordService {
    constructor(private http: HttpService) {

    }
    resetPassword(params) {
        return this.http.put('/users/' + params.id + '/password?newPassword=' + params.newPassword);
    }
}
